<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">

<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="fixed-table-toolbar">
                    <input class="hidden" id="authority" name="authority" th:value="${authority}" >
                    <input class="hidden" id="authorityButtonAdd" name="authorityButtonAdd" th:value="${authorityButtonAdd}" >
                    <input class="hidden" id="authorityButtonEdit" name="authorityButtonEdit" th:value="${authorityButtonEdit}" >
                    <input class="hidden" id="authorityButtonInquire" name="authorityButtonInquire" th:value="${authorityButtonInquire}" >
                    <input class="hidden" id="authorityButtonDelete" name="authorityButtonDelete" th:value="${authorityButtonDelete}" >
                </div>
<!--                <div class="card resourceInput" style="margin: 40px 0;display: flex; flex-direction: row; justify-content: center; align-items: center;">-->
<!--                    <div class="box-align" style="width: 20%; display: flex; align-items: center;">-->
<!--                        <h4 style="width: 33%;">姓名:</h4>-->
<!--                        <input id="myname" name="name" placeholder="请输入姓名" class="form-control" type="text">-->
<!--                    </div>-->
<!--                    <div style="flex: 1">-->
<!--                        <button type="submit" class="layui-btn" style="margin-left: 20px;height: 32px;line-height: 32px" onclick="reLoad()">搜索</button>-->
<!--                    </div>-->
<!--                </div>-->
                <div class="card">
<!--                    includes条件显示-->
                    <button th:if="${authorityButtonAdd}" type="submit" class="layui-btn" onclick="addResource()">新增</button>
                    <table  id="exampleTable" data-mobile-responsive="true">
                    </table>
                </div>

            </div>
        </div>
    </div>
</div>
<!--shiro控制bootstraptable行内按钮看见性 -->
<div>
    <script type="text/javascript">
        var s_edit_h = 'hidden';
        var s_remove_h = 'hidden';
        var s_resetPwd_h = 'hidden';
    </script>
</div>
<div shiro:hasPermission="jzweb:msg:edit">
    <script type="text/javascript">
        s_edit_h = '';
    </script>
</div>
<div shiro:hasPermission="jzweb:msg:remove">
    <script type="text/javascript">
        var s_remove_h = '';
    </script>
</div>
<div shiro:hasPermission="jzweb:msg:resetPwd">
    <script type="text/javascript">
        var s_resetPwd_h = '';
    </script>
</div>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/webJs/jzweb/banner/index.js"></script>
</body>
</html>